home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
UTIL
/
MEMORY
/
OLD
/
MEM208SRC
/
!Memphis
/
Makefile
< prev
next >
Wrap
Makefile
|
1993-09-09
|
3KB
|
127 lines
# Project name: Memphis
#
# AMU Makefile for MemFS/MemFSFiler modules
# By BDB & Nick Smith, 1993
# Toolflags:
SQUEEZE = squeeze -v
MSQUEEZE = modsqz -v
DEPEND = -depend !Depend
CFLAGS= $(DEPEND) -c -zM -ffah -throwback -I^.fslib
CC=cc
LN = link -rmf -map
AS = aasm $(DEPEND) -throwback -m -q
DATFLAGS = -DP -P -S -D _data -L _length
# Dependencies
LIBS = c:stubs.o c:risc_oslib.o
FSFILES = ^.fslib.FSLIB
FSLIB = $(FSFILES) $(LIBS)
MEMFSBITS = sprstore.o inode.o memcore.o mem.o spr.o compress.o Lfile.o $(FSLIB)
MEMFILERBITS = filermem.o memfiler.o templates.o protect.o $(FSLIB)
# Targets
all: MemFS MemFiler
MemFS: $(MEMFSBITS)
$(LN) -o $@ $(MEMFSBITS)
$(MSQUEEZE) $@
# $(SQUEEZE) $@
MemFiler: $(MEMFILERBITS)
$(LN) -o $@ $(MEMFILERBITS)
$(MSQUEEZE) $@
# $(SQUEEZE) $@
clean:
wipe o.* ~v~c
# remove memfs
# remove memfiler
.SUFFIXES: .cmhg .o .s .c .cmhg' .dat
.c.o :
$(CC) $(CFLAGS) $<
.s.o :
objasm $(DEPEND) $< $@ -stamp -quit
.cmhg.o :
cmhg $< $@
.cmhg'.o :
cmhgRMA $< $@
.dat.o :
datatoaof -f $< -o $@ $(DATFLAGS)
# Dynamic dependencies:
o.spr: c.spr
o.spr: c:h.kernel
o.spr: c:h.swis
o.spr: ^.fslib.h._swis
o.spr: c:h.sprite
o.spr: c:h.os
o.spr: ^.fslib.h.interface
o.spr: ^.fslib.h.core
o.spr: h.spr
o.protect: hdr.regs
o.protect: hdr.swis
o.sprstore: c.sprstore
o.sprstore: c:h.kernel
o.sprstore: c:h.swis
o.sprstore: c:h.sprite
o.sprstore: c:h.os
o.sprstore: ^.fslib.h.util
o.sprstore: ^.fslib.h.interface
o.sprstore: ^.fslib.h.core
o.sprstore: h.spr
o.sprstore: h.Lfile
o.sprstore: h.store
o.memcore: c.memcore
o.memcore: ^.fslib.h.FS
o.memcore: c:h.kernel
o.memcore: c:h.swis
o.memcore: ^.fslib.h.Interface
o.memcore: ^.fslib.h.ModuleWrap
o.memcore: ^.fslib.h.util
o.memcore: ^.fslib.h.core
o.memcore: h.store
o.memcore: h.inode
o.memcore: ^.fslib.h.ticker
o.inode: c.inode
o.inode: ^.fslib.h.interface
o.inode: c:h.kernel
o.inode: ^.fslib.h.core
o.inode: h.store
o.inode: h.inode
o.inode: ^.fslib.h.util
o.templates: hdr.regs
o.templates: hdr.swis
o.templates: s.Macros
o.compress: c.compress
o.compress: c:h.kernel
o.compress: c:h.swis
o.compress: ^.fslib.h._swis
o.compress: h.compress
o.Lfile: c.Lfile
o.Lfile: c:h.kernel
o.Lfile: c:h.swis
o.Lfile: ^.fslib.h._swis
o.Lfile: ^.fslib.h.util
o.Lfile: ^.fslib.h.interface
o.Lfile: h.compress
o.Lfile: h.Lfile
o.memfiler: c.memfiler
o.memfiler: c:h.kernel
o.memfiler: c:h.swis
o.memfiler: ^.fslib.h.ModuleWrap
o.memfiler: ^.fslib.h.util
o.memfiler: ^.fslib.h.interface
o.memfiler: ^.fslib.h.cstart
o.memfiler: c:h.wimp
o.memfiler: c:h.os
o.memfiler: c:h.sprite